/*
Credit: http://www.templatemo.com
*/

body {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-family: Tahoma,"Times New Roman",Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #fff;
	background: #000;
	text-align:left;
}
		
a:link, a:visited { color: #a54c77; text-decoration: none; font-weight: normal; } 
a:active, a:hover { color: #a54c77; text-decoration: underline; }

p,ul,li,div,span { margin: 0px; padding: 0px; }

img { margin: 0px; padding: 0px; border: none; }

.clear { clear: both; width: 100%; height: 0px; font-size: 0px;  }



#wrapper-outer {
	max-width:1000px;
	
	margin:auto;
}
#wrapper-inner {
	
	

}
#inner{

margin:auto;
	
}

/* ========================================== body =================================*/
#body{
	width:992px;
	border: 1px solid #505050;
	border-radius:5px;

	padding:3px;
}
#menu{
width:990px;
height:52px;
border: 2px solid #ffea17;
border-bottom:none;
border-right:none;
border-radius:5px 5px 0 0;

	/* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff7c01), to(#ffac0d));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #ffac0d, #ff7c01);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #ffac0d, #ff7c01);

  /* IE 10 */
  background: -ms-linear-gradient(top, #ffac0d, #ff7c01);

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #ffac0d, #ff7c01);
}
#menu ul{
	margin-top: 16px;
}
#menu ul li{
	display: inline;
	
}
#menu ul li a{
font-size:1.08em;
	font-weight:bold;
	text-transform:uppercase;
	color:#fff;
	padding:16px 20px 16px 20px;
	border-right:1px solid #c9621d;
}

#left{
	float:left;
	
}
#right{
	float:right;
	background:#2c2213;
	width:280px;
	padding-bottom:20px;
}
#right #video{
	margin: auto;
	margin-top: 20px;
	text-align: center;
}
#videotitle{
	color: #d6950d;
	font-weight:bold;
}
.boxtitle{
	margin-top:20px;
	border-bottom:1px solid #1a1713;
}
.boxtitle div{	
	border-bottom:1px solid #3c362f;
	padding-top:10px;
	height:30px;
	/* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#25211c), to(#352f28));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #352f28, #25211c);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #352f28, #25211c);

  /* IE 10 */
  background: -ms-linear-gradient(top, #352f28, #25211c);

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #352f28, #25211c);
}
.boxtitle div span{
	background-color:#24201b;
	color:#6a5e5e;
	padding:1px 12px 4px 12px;
	border-radius:10px;
	border-top:1px solid #1b1814;
	border-left:1px solid #1b1814;
	border-bottom:1px solid #342e27;
	border-right:1px solid #342e27;
	margin-left:22px;
}
.boxcontent{
	margin-top:10px;
	margin-left:22px;
}

#page{
	padding:20px 10px 20px 10px;
	background:#2c2213;

	
}

/*
For "n" images You must define:
a=presentation time for one image
b=duration for cross fading
Total animation-duration is of course t=(a+b)*n

animation-delay = t/n or = a+b

Percentage for keyframes:

0%
a/t*100%
(a+b)/t*100% = 1/n*100%
100%-(b/t*100%)
100%

a=4
b=1
n=5
t=25
*/

@-webkit-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 16% {
   opacity:1;
 }
 20% {
   opacity:0;
 }
 96% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@-moz-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 16% {
   opacity:1;
 }
 20% {
   opacity:0;
 }
 96% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@-o-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 16% {
   opacity:1;
 }
 20% {
   opacity:0;
 }
 96% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 16% {
   opacity:1;
 }
 20% {
   opacity:0;
 }
 96% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}
#cf4a{
	width:710px;
	height:450px;
}
#cf4a img {
-webkit-animation-name: cf4FadeInOut;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 25s;

  -moz-animation-name: cf4FadeInOut;
  -moz-animation-timing-function: ease-in-out;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration: 25s;

  -o-animation-name: cf4FadeInOut;
  -o-animation-timing-function: ease-in-out;
  -o-animation-iteration-count: infinite;
  -o-animation-duration: 25s;

  animation-name: cf4FadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 25s;

position:absolute;
opacity:0;

}
#cf4a img:nth-of-type(1) {
   -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}
#cf4a img:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}
#cf4a img:nth-of-type(3) {
   -webkit-animation-delay: 10s;
  -moz-animation-delay: 10s;
  -o-animation-delay: 10s;
  animation-delay: 10s;
}
#cf4a img:nth-of-type(4) {
   -webkit-animation-delay: 15s;
  -moz-animation-delay: 15s;
  -o-animation-delay: 15s;
  animation-delay: 15s;
}
#cf4a img:nth-of-type(5) {
   -webkit-animation-delay: 20s;
  -moz-animation-delay: 20s;
  -o-animation-delay: 20s;
  animation-delay: 20s;
}
/* ========================================== header =================================*/
#header{
	width:1000px;
	position:absolute;
	top:5px;
}
#site-title h1{
	font-size:1em;
	
}
#header #site-title{
	font-size: 2.5em;
	float:left;
}
	#search{
	float:right;

	}
	#search input{
		border: 1px solid #505050;
		color:#dc6e2c;
		border-radius:5px;
		padding:5px;
		padding-right:30px;
		width:165px;
		background: transparent url(images/search-icon.png) right no-repeat;
		
	}
	#search-button{
		margin-top: -27px;
		margin-left: 175px;
		position:absolute;
		width:27px;
		height:22px;
		cursor:pointer;
	}
/* ========================================== footer =================================*/
#footer{
	text-align:center;
	margin-top:10px;
	color:#4a4a4a;
	
}